import request from '@/utils/request'

// 查询预算项目详情漏斗金额阶段列表
export function listFunnelAmountPhase(query) {
  return request({
    url: '/mis/funnelAmountPhase/list',
    method: 'get',
    params: query
  })
}

// 查询预算项目详情漏斗金额阶段详细
export function getFunnelAmountPhase(id) {
  return request({
    url: '/mis/funnelAmountPhase/' + id,
    method: 'get'
  })
}

// 新增预算项目详情漏斗金额阶段
export function addFunnelAmountPhase(data) {
  return request({
    url: '/mis/funnelAmountPhase',
    method: 'post',
    data: data
  })
}

// 修改预算项目详情漏斗金额阶段
export function updateFunnelAmountPhase(data) {
  return request({
    url: '/mis/funnelAmountPhase',
    method: 'put',
    data: data
  })
}

// 删除预算项目详情漏斗金额阶段
export function delFunnelAmountPhase(id) {
  return request({
    url: '/mis/funnelAmountPhase/' + id,
    method: 'delete'
  })
}
